# ===== WORKER provision script =====

#!/bin/bash
echo "We will put provision scripts here later"

if [ ! -e /usr/share/tomcat/latest/temp/v2 ]; then
        mkdir -p /usr/share/tomcat/latest/temp/v2
fi

\cp /tmp/sofiles_64/libFormWidgetGen.so /usr/share/tomcat/latest/temp/v2/libFormWidgetGen.so
\cp /tmp/sofiles_64/libPDF2Image.so /usr/share/tomcat/latest/temp/v2/libPDF2Image.so
\cp /tmp/sofiles_64/PDFLinearize_x64.so /usr/share/tomcat/latest/temp/PDFLinearize_x64.so

service fxworker restart

